package com.jymj.entity.data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.math.RoundingMode;

/**
 * Created by ljj on 2018/3/26.
 */
public class KxZhaiHzEntity implements Serializable {

    private String xzqmc;
    private String code;
    private Integer zhaicount;
    private BigDecimal zhaimj;
    private BigDecimal zhaijzmj;
    private Integer hucount;
    private Integer rk;
    private Integer ncount;
    private Integer feincount;

    public String getXzqmc() {
        return xzqmc;
    }

    public void setXzqmc(String xzqmc) {
        this.xzqmc = xzqmc;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Integer getZhaicount() {
        return zhaicount;
    }

    public void setZhaicount(Integer zhaicount) {
        this.zhaicount = zhaicount;
    }

    public BigDecimal getZhaimj() {
        return zhaimj == null ? new BigDecimal(0) : zhaimj.setScale(1, RoundingMode.HALF_UP);
    }

    public void setZhaimj(BigDecimal zhaimj) {
        this.zhaimj = zhaimj;
    }

    public BigDecimal getZhaijzmj() {
        return zhaijzmj == null ? new BigDecimal(0) : zhaijzmj.setScale(1, RoundingMode.HALF_UP);
    }

    public void setZhaijzmj(BigDecimal zhaijzmj) {
        this.zhaijzmj = zhaijzmj;
    }

    public Integer getHucount() {
        return hucount;
    }

    public void setHucount(Integer hucount) {
        this.hucount = hucount;
    }

    public Integer getRk() {
        return rk;
    }

    public void setRk(Integer rk) {
        this.rk = rk;
    }

    public Integer getNcount() {
        return ncount;
    }

    public void setNcount(Integer ncount) {
        this.ncount = ncount;
    }

    public Integer getFeincount() {
        return feincount;
    }

    public void setFeincount(Integer feincount) {
        this.feincount = feincount;
    }
}
